package com.jt.feighService;



import com.jt.entity.Order;
import com.jt.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "storage-server")
@Service
public interface StorageFeignService {
    @PostMapping("/storage/deleteStorage")
    Result deleteStorage(@RequestBody Order order);

}
